﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace WeChatSDK.WeChatDto.Conversation.ReceivingMessage
{
    /// <summary>
    /// 地理位置消息
    /// </summary>
    [XmlRoot(Namespace = "", IsNullable = false, ElementName = "xml")]
    public class LocationMessageDto:ReceivingMessageDto
    {
        /// <summary>
        /// 经度
        /// </summary>
        [XmlElement("Location_X", DataType = "double")]
        public double Location_X { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        [XmlElement("Location_Y", DataType = "double")]
        public double Location_Y { get; set; }
        /// <summary>
        /// 地图缩放大小
        /// </summary>
        [XmlElement("Scale", DataType = "int")]
        public int Scale { get; set; }
        /// <summary>
        /// 地理位置信息
        /// </summary>
        [XmlElement("Label", DataType = "string")]
        public string Label { get; set; }
    }
}
